﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EFD RID: 3837
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueHexAvatarSelectCallback : IMessage<RogueHexAvatarSelectCallback>, IMessage, IEquatable<RogueHexAvatarSelectCallback>, IDeepCloneable<RogueHexAvatarSelectCallback>, IBufferMessage
	{
		// Token: 0x170030C3 RID: 12483
		// (get) Token: 0x0600AC24 RID: 44068 RVA: 0x001D1D17 File Offset: 0x001CFF17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueHexAvatarSelectCallback> Parser
		{
			get
			{
				return RogueHexAvatarSelectCallback._parser;
			}
		}

		// Token: 0x170030C4 RID: 12484
		// (get) Token: 0x0600AC25 RID: 44069 RVA: 0x001D1D1E File Offset: 0x001CFF1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueHexAvatarSelectCallbackReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030C5 RID: 12485
		// (get) Token: 0x0600AC26 RID: 44070 RVA: 0x001D1D30 File Offset: 0x001CFF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueHexAvatarSelectCallback.Descriptor;
			}
		}

		// Token: 0x0600AC27 RID: 44071 RVA: 0x001D1D37 File Offset: 0x001CFF37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHexAvatarSelectCallback()
		{
		}

		// Token: 0x0600AC28 RID: 44072 RVA: 0x001D1D3F File Offset: 0x001CFF3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHexAvatarSelectCallback(RogueHexAvatarSelectCallback other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AC29 RID: 44073 RVA: 0x001D1D58 File Offset: 0x001CFF58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHexAvatarSelectCallback Clone()
		{
			return new RogueHexAvatarSelectCallback(this);
		}

		// Token: 0x0600AC2A RID: 44074 RVA: 0x001D1D60 File Offset: 0x001CFF60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueHexAvatarSelectCallback);
		}

		// Token: 0x0600AC2B RID: 44075 RVA: 0x001D1D6E File Offset: 0x001CFF6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueHexAvatarSelectCallback other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600AC2C RID: 44076 RVA: 0x001D1D8C File Offset: 0x001CFF8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AC2D RID: 44077 RVA: 0x001D1DB2 File Offset: 0x001CFFB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AC2E RID: 44078 RVA: 0x001D1DBA File Offset: 0x001CFFBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AC2F RID: 44079 RVA: 0x001D1DC3 File Offset: 0x001CFFC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AC30 RID: 44080 RVA: 0x001D1DDC File Offset: 0x001CFFDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AC31 RID: 44081 RVA: 0x001D1E02 File Offset: 0x001D0002
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueHexAvatarSelectCallback other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AC32 RID: 44082 RVA: 0x001D1E1F File Offset: 0x001D001F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AC33 RID: 44083 RVA: 0x001D1E28 File Offset: 0x001D0028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040045E8 RID: 17896
		private static readonly MessageParser<RogueHexAvatarSelectCallback> _parser = new MessageParser<RogueHexAvatarSelectCallback>(() => new RogueHexAvatarSelectCallback());

		// Token: 0x040045E9 RID: 17897
		private UnknownFieldSet _unknownFields;
	}
}
